package com.wx.mapper;

import com.wx.common.MyMapper;
import com.wx.entity.SysDict;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Title: DictionaryMapper<br>;
 * Description: 数据字典<br>;
 * Copyright: Copyright (c) 2017<br>;
 * Company: 医百科技有限公司<br>;
 *
 * @author xinglinglove1029@163.com<br>
 * 2018/11/16 19:48
 */
@Mapper
@Component
public interface SysDictMapper extends MyMapper<SysDict> {

    List<SysDict> selectAllDict();

    SysDict selectDicByCode(@Param("dictCode") String dictCode);
}
